﻿<!--
  copyright (c) 2009 Google inc.

  You are free to copy and use this sample.
  License can be found here: http://code.google.com/apis/ajaxsearch/faq/#license
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps API Sample</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAA-0vtViKXYggSUuaf9RqyJhSkWvDOisbb0EgbGER0eDlHLPNcShT8PpvOdjzM7Dw3FxFUVOp-3qM_5Q" type="text/javascript"></script>
    <script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
       
      }
    }

	function SetMap(lat,lon,r)
	{
	 document.getElementById("map_canvas").style.display = "";
        var map = new GMap2(document.getElementById("map_canvas"));
	 map.setCenter(new GLatLng(lat,lon), r);
		var point = new GLatLng(lat,lon);
      	map.addOverlay(new GMarker(point));
	}

    </script>
  </head>
  <body onload="initialize()" onunload="GUnload()" style="font-family: Arial;border: 0 none;margin:0px;overflow:hidden;">
    <div id="map_canvas" style="display:none;width: 180px; height: 180px"></div>
  </body>
</html>
